#-------------------------------------------------
#
# Project created by QtCreator 2012-10-05T13:39:28
#
#-------------------------------------------------

QT       += core gui
QT       += network

TARGET = meteo
TEMPLATE = app

#QTPLUGIN +=   qgif qjpeg qtiff

CODECFORSRC = UTF-8


SOURCES += main.cpp\
        mainmeteo.cpp \
    mymap.cpp \
    mygview.cpp \
    settingwindow.cpp \
    about.cpp \
    help.cpp

HEADERS  += mainmeteo.h \
    mymap.h \
    mygview.h \
    settingwindow.h \
    about.h \
    help.h

FORMS    += mainmeteo.ui \
    settingwindow.ui \
    about.ui \
    help.ui

RESOURCES += \
    rc.qrc

RC_FILE = meteo.rc

debug{
CONFIG += DEBUG
}

static { # everything below takes effect with CONFIG += static
    CONFIG += static
    #CONFIG += staticlib # this is needed if you create a static library, not a static executable
    DEFINES += STATIC
    #win32:QMAKE_LFLAGS += /LIBPATH:"$$[QT_INSTALL_PLUGINS]/imageformats"

    QTPLUGIN +=   qgif qjpeg qtiff

    message("~~~ static build ~~~") # this is for information, that the static build is done
    mac: TARGET = $$join(TARGET,,,_static) #this adds an _static in the end, so you can seperate static build from non static build
    win32: TARGET = $$join(TARGET,,,s) #this adds an s in the end, so you can seperate static build from non static build
}
